<?php
/**
 * Created by PhpStorm.
 * User: leo
 * Date: 2017/8/16
 * Time: 23:56
 */
namespace app\admin\model;

use think\Model;

class Card extends Model
{
	public function grade()
	{
		return $this->hasOne('StaffCard','card_id','id');
	}
}